<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>500</title>
    <link rel="stylesheet" type="text/css" th:href="@{/plugins/bootstrap/css/bootstrap.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/common.css}"/>
</head>
<body>

    <div class="container" style="margin:0 auto">
        <div class="row">
            <h1>500</h1>
            <h3>内部服务器错误！</h3>
            服务器遇到意外事件，不允许完成请求。我们抱歉。您可以返回
            <a href="/v1/webIndex" target="_parent">
                <i class="glyphicon glyphicon-home" style="font-size:16px;"></i>
                主页
            </a>。
        </div>
    </div>

    <script th:src="@{/plugins/jquery/jquery.min.js}" charset="UTF-8"></script>
    <script th:src="@{/plugins/bootstrap/js/bootstrap.js}" charset="UTF-8"></script>
    <script th:src="@{/plugins/bootstrap-notify.min.js}" charset="UTF-8"></script>

    <script>
        $(function () {
            $.notify({
                icon: 'glyphicon glyphicon-warning-sign',
                title: '系统提示',
                message: '<div>Sorry 服务器遇到意外事件, 您可以点击我回到主页！</div>',
                url: '/v1/webIndex',
                target: '_parent'
            },{
                type: 'danger',
                delay : 5000
            });
        });
    </script>
</body>
</html>
